const wxapp = {
	// 小程序授权登录
    wxappLogin: (params = {}) => uni.$u.post('/Index/wxappLogin', params),
	
	// 公众号获取签名
    getSignPackage: (params = {}) => uni.$u.post('/WechatScript/getSignPackage', params),
	
	// 获取用户信息
    getUserInfo: (params = {}) => uni.$u.post('/Index/getUserInfo', params),
	
	// 获取设置
	findSetting: (params = {}) => uni.$u.post('/wxapp/public/find_setting', params),
	// 用户登录
	userLogin: (params = {}) => uni.$u.post('/wxapp/user/user_login', params),
	
	
	// 获取用户信息
	getUserInfo: (params = {}) => uni.$u.get('/wxapp/user/get_user_info', params),
	// 编辑用户信息
	updateMember: (params = {}) => uni.$u.get('/wxapp/user/post_user_info', params),
	
	// 地址列表
	findShopAddressList: (params = {}) => uni.$u.get('/wxapp/order/get_address_info', params),
	// 添加收获地址
	editShopAddress: (params = {}) => uni.$u.post('/wxapp/order/post_address_data', params),
	// 获取商品列表
	getGoodsList: (params = {}) => uni.$u.post('/wxapp/goods/get_goods_list', params),
	// 获取商品详情
	getGoodsInfo: (params = {}) => uni.$u.post('/wxapp/goods/get_goods_info', params),
	
	// 添加商品订单
	addShopOrder: (params = {}) => uni.$u.post('/wxapp/order/add_shop_order', params),
	
	// 我的订单
	myShopOrder: (params = {}) => uni.$u.post('/wxapp/order/my_shop_order', params),
	// 订单详情
	shopOrderInfo: (params = {}) => uni.$u.post('/wxapp/order/shop_order_info', params),
	// 确认订单
	
	confirmOrder: (params = {}) => uni.$u.post('/wxapp/order/confirm_order', params),
	
	// 快递详情
	getOrderExpress: (params = {}) => uni.$u.post('/wxapp/order/get_order_express', params),
	
}
export default wxapp